package io.geekidea.boot.overduequery.query;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.geekidea.boot.framework.page.BasePageQuery;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.data.relational.core.sql.In;

import java.io.Serial;
import java.io.Serializable;

@Data
@NoArgsConstructor
@ToString(callSuper = true)
public class OverdueQueryQuery extends BasePageQuery implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;


    /*
     * 关联超期类型
     * */
    @TableField("exceedtype")
    private String exceedtype;

    /*
     * 关联仓库
     * */
    @TableField("materialdepot")
    private String materialdepot;

    @TableField("area_fk")
    private Integer areaFk;

    @TableField("store_fk")
    private Integer storeFk;

    @TableField("materialcoding")
    private String materialcoding;

    @TableField("materialsnmark")
    private String materialsnmark;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8", shape = JsonFormat.Shape.STRING)
    private String startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8", shape = JsonFormat.Shape.STRING)
    private String lastTime;

    private String storeName;
    private String name;
}
